<template>
    <el-container>
        <el-main style="text-align: center">
            <div class="el-icon-success-warp"><i class="el-icon-success"></i></div>
            <p class="success-text">已成功提交资料!</p>
            <p class="success-text">保全申请以纸质书面材料交审判部门审核为准，请在3日内将全部纸质材料交审判法官、书记员</p>
            <el-button class="w100per" type="success" @click="rewrite">返回首页</el-button>

        </el-main>
    </el-container>
</template>

<script>
    import {mapActions,mapState} from 'vuex'

    export default {
        name: "Complete",

        computed:{

            ...mapState([
                'step','AH',
            ])
        },

        methods:{

            ...mapActions([
                'setStep','resetToken','clearSessionStorage'
            ]),

            rewrite(){
                this.resetToken()
            },

            closePage(){
                this.clearSessionStorage()
                window.close();
            }
        }

    }
</script>

<style scoped>
    .el-icon-success{font-size: 12rem;color:#67C23A;}
    .success-text{font-size: 2rem;text-align:center;color: #909399;margin-bottom: 1.5rem}
</style>